#include "error.h"
#include "kernel.h"

/* Opaque 4-word i.d. block for MsgTrans */

typedef struct
{
    int a, b, c, d;
} MsgOpaque;

typedef struct
{
    MsgOpaque opaque;
    int size;
    char *data;
    int buffersize;
    char *buffer;
} MsgRec, *MsgPtr;

error *message_openfile (MsgPtr msgs, char *filename, int longest);
error *message_closefile (MsgPtr msgs);
char *message_lookup (MsgPtr msgs, char *token);
